package com.vader.flea.service;

import com.vader.flea.dto.ImgHolder;
import com.vader.flea.dto.ShopExecution;
import com.vader.flea.entity.Shop;
import com.vader.flea.exceptions.ShopOperationException;

import java.io.File;
import java.io.InputStream;

public interface ShopService {
    ShopExecution getShopList(Shop shopCondition,int pageIndex,int pageSize);

    ShopExecution addShop(Shop shop, ImgHolder thumbnail) throws ShopOperationException;

    Shop getShopById(Long shopId);

    ShopExecution modifyShop(Shop shop,ImgHolder thumbnail)throws ShopOperationException;
}
